package com.zdlee.netty.server10.response;

import com.zdlee.netty.server10.command.Packet;
import lombok.Data;

import static com.zdlee.netty.server10.command.Command.MESSAGE_RESPONSE;

/**
 * @author zdlee
 * @description: ${DESCRIPTION}
 * @create 2018-11-29 14:24
 */
@Data
public class MessageResponsePacket extends Packet {

    private String fromUserId;

    private String fromUserName;

    private String message;

    @Override
    public Byte getCommand() {
        return MESSAGE_RESPONSE;
    }

}
